<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Index</title>
<script src="<{:__PUBLIC__}>/js/jquery-1.5.2.min.js"></script>
<script src="<{:__PUBLIC__}>/js/jquery.form.js"></script>
</head>
<body>
<h1> 取消处理订单</h1>
<table border="1">
<tr>
<th>订单号</th>
<th>收件人/昵称</th>
<th>收货地址</th>
<th>卖家备注/买家 留言</th>
<th>商品信息</th>
<th>快递</th>
<th>订单金额/成本</th>
<th>运单号</th>
<th>时间</th>
<th>操作</th>
</tr>
<php>
if( $tradelist ) {
	
	foreach( $tradelist as $trade ) {
		$ordersinfo = '';
		$orders = unserialize( $trade['orders'] );		
		foreach(  $orders['order'] as $order ){
			$ordersinfo .= '<div>'. $order['title'] .'('. $order['num'] .' SKU:'. $order['outer_sku_id'] .')</div>';
		} 
		$company = D('Company')->where("id={$trade['syscomid']}")->find();
		echo '<tr>
		<td>'. $trade['tid']. '</td>
		<td>'. $trade['receiver_name'] .'/'. $trade['buyer_nick'] . '</td>
		<td>'. $trade['receiver_state'] .' '. $trade['receiver_city']. ' '. $trade['receiver_district'] .' '. $trade['receiver_address'] . '</td>
		<td>'. $trade['seller_memo'] . '/' . $trade['buyer_message']. '</td>
		<td>'. $ordersinfo .'</td>
		<td>'. $company['name'] .'</td>
		<td>' .$trade['payment']. '/'. $trade['syscost'] .' </td>
		<td>' .$trade['out_sid']. '</td>
		<td>' .$trade['sysaddtime']. '</td>
		<td>[<a href="' .U("tfeedback?tid={$trade['tid']}"). '">查看内容</a>]</td>
		
		</tr> ';
	} 
}
</php>
<!--  <td> <input type="button" id="btnCancelFeedback" name="btnCancelFeedback" alt="'. $trade['tid'] .'"  value="取消处理" /></td></tr>'; -->
<tr>
<td colspan="10" height="30" align="center"><div><{$page}></div></td>
</tr>
</table>

<script>
$(document).ready(function(){
	 
	
	
});
</script>
</body>
</html>